package com.chinatsp;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class Application {

	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}

	/**
	 * 注册过滤器
	 * @return
     */
	/*@Bean
	public FilterRegistrationBean filterRegistrationBean(){

		FilterRegistrationBean registrationBean = new FilterRegistrationBean();
		InitFilter initFilter = new InitFilter();
		registrationBean.setName("filter");
		registrationBean.setFilter(initFilter);
		List<String> urlList = new ArrayList<String>();
		urlList.add("*//*");
		registrationBean.setUrlPatterns(urlList);
		return registrationBean;
	}*/
}
